package com.zjsru.common;

import java.util.List;

/**
 * 树结构模型
 *
 * @Author: cookLee
 * @Date: 2024-02-19
 */
public class Node {

    /**
     * 值
     */
    public int val;

    /**
     * 子节点
     */
    public List<Node> children;

    public Node() {
    }

    public Node(int _val) {
        val = _val;
    }

    public Node(int _val, List<Node> _children) {
        val = _val;
        children = _children;
    }
}
